package com.shop.entity;

import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;

/**
 * 用户
 *
 * @author denpeng
 * @create 2018-05-24 13:49
 **/
@Data
@Entity
@Table(name = "user_info")
public class UserInfo {

  @Id
  private String id;

  private String username;

  private String password;

  private String openid;

  private Integer role;

  private Date createTime;

  private Date updateTime;
}
